package bai2;
//import bai2.Priority;
//import bai2.Complexity;

public class Task implements Priority, Complexity {
	public int id;
	public String taskName;
	public int priority;
	public int complex;
	
	
	public Task() {
		this.id = 0;
		this.taskName = null;
		this.priority = Min_pri;
		this.complex = Min_com;
	}
	public Task(int id, String taskName, int priority, int complex) {
		this.id = id;
		this.taskName = taskName;
		this.priority = priority;
		this.complex = complex;
	}
	public int getPriority(){
		return this.priority;
	}
	public void setPriority(int value){
		this.priority=value;
	}
	public int getComplexity(){
		return this.complex;
	};
	public void setComplexity(int value){
		this.complex=value;
	};
}